@import '@/styles/Color.scss';
@import '@/styles/basics.scss';

#layoutHeader {
  .box-header {
    width: 100%;
    height: 50px;
    display: flex;
    &::after {
      content: "";
      display: inline-block;
      position: absolute;
      right: 0;
      top: 0;
      background-size: 100% 100%;
      pointer-events: none;
    }

    .logo-name {
      display: inline-flex;
      height: 100%;
      padding: 0 15px;
      align-items: center;
      flex-shrink: 0;

      .img-size {
        width: 40px;
        height: 40px;
        margin-left: -5px;
        margin-right: 8px;
        margin-bottom: 5px;
      }
      .name {
        font-weight: 700;
        font-size: 24px;
        text-align: left;
        color: #fff;
      }
    }
    .top-menus {
      flex: 1;
      overflow: hidden;
      height: 100%;
      width: 100%;
      display: flex;
      padding: 0 10px;
      .el-menu--horizontal {
        border-bottom: none
        !important;
        float: left;
        margin-left: 10px;
        background: transparent;
        .is-active {
          border-bottom: 2px solid #c122a7 !important;
          background: #13c2c2 !important;
          color: #c122a7;
        }
      }
      .el-menu-item {
        font-size: 18px  !important;
        color: #f6f8f7 !important;
        margin: 0 5px;
        &:hover{
          background-color: #ED6A0C;
        }
      }
      .el-menu{
          .active {
            border-bottom: 2px solid #c122a7 !important;
            background: #13c2c2 !important;
            color: #c122a7;
          }
      }
    }
    .setting{
      flex-shrink: 0;
      padding: 0 1px;
      margin-left: auto;
      height: 100%;
      display: flex;
      align-items: center;
      cursor: pointer;
    }
    .person-operation {
      flex-shrink: 0;
      padding: 0 1px;
      margin-left: auto;
      height: 100%;
      display: flex;
      align-items: center;
      cursor: pointer;

      .username {
        height: 34px;
        display: flex;
        align-items: center;
        border-left: 1px solid rgba(#fff, 0.2);
        border-right: 1px solid rgba(#fff, 0.2);
        padding: 0 15px;

        .panel {
          color: #fff;
        }
      }
      .notice {
        margin-right: 10px;
      }

      .img-size {
        width: 16px;
        height: 18px;
        padding: 0 20px;
        cursor: pointer;
      }

      .img-size-2 {
        width: 15px;
        height: 15px;
        padding: 0 20px;
        cursor: pointer;
      }
    }
    .right-box {
      padding-top: 16px;
      display: flex;
      justify-content: flex-end;
      align-items: center;
      img {
        vertical-align: middle;
        border: 1px solid #ccc;
        border-radius: 6px;
      }
    }
  }
}
